

<%@ page import="bugtracking.TechnicalSupportIssuesDM" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'technicalSupportIssuesDM.label', default: 'TechnicalSupportIssuesDM')}" />
        <title><g:message code="default.create.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.create.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${technicalSupportIssuesDMInstance}">
            <div class="errors">
                <g:renderErrors bean="${technicalSupportIssuesDMInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="save" >
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="bug_id"><g:message code="technicalSupportIssuesDM.bug_id.label" default="Bugid" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'bug_id', 'errors')}">
                                    <g:textField name="bug_id" value="${fieldValue(bean: technicalSupportIssuesDMInstance, field: 'bug_id')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="bug_status"><g:message code="technicalSupportIssuesDM.bug_status.label" default="Bugstatus" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'bug_status', 'errors')}">
                                    <g:textField name="bug_status" value="${technicalSupportIssuesDMInstance?.bug_status}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="closed_date"><g:message code="technicalSupportIssuesDM.closed_date.label" default="Closeddate" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'closed_date', 'errors')}">
                                    <g:datePicker name="closed_date" precision="day" value="${technicalSupportIssuesDMInstance?.closed_date}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="component"><g:message code="technicalSupportIssuesDM.component.label" default="Component" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'component', 'errors')}">
                                    <g:textField name="component" value="${technicalSupportIssuesDMInstance?.component}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="creation_ts"><g:message code="technicalSupportIssuesDM.creation_ts.label" default="Creationts" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'creation_ts', 'errors')}">
                                    <g:datePicker name="creation_ts" precision="day" value="${technicalSupportIssuesDMInstance?.creation_ts}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="product"><g:message code="technicalSupportIssuesDM.product.label" default="Product" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'product', 'errors')}">
                                    <g:textField name="product" value="${technicalSupportIssuesDMInstance?.product}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="resolution"><g:message code="technicalSupportIssuesDM.resolution.label" default="Resolution" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'resolution', 'errors')}">
                                    <g:textField name="resolution" value="${technicalSupportIssuesDMInstance?.resolution}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="severity"><g:message code="technicalSupportIssuesDM.severity.label" default="Severity" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'severity', 'errors')}">
                                    <g:textField name="severity" value="${technicalSupportIssuesDMInstance?.severity}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="short_desc"><g:message code="technicalSupportIssuesDM.short_desc.label" default="Shortdesc" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'short_desc', 'errors')}">
                                    <g:textField name="short_desc" value="${technicalSupportIssuesDMInstance?.short_desc}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="totalDuration"><g:message code="technicalSupportIssuesDM.totalDuration.label" default="Total Duration" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: technicalSupportIssuesDMInstance, field: 'totalDuration', 'errors')}">
                                    <g:textField name="totalDuration" value="${fieldValue(bean: technicalSupportIssuesDMInstance, field: 'totalDuration')}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
